<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<html>
<body>

<h2>修改教师</h2>

<form action="votelistbtn.jsp?type=up" method="post">
    <%
        // 获取表单提交的数据
        String teacherno = request.getParameter("teacherno");
        String teachername = request.getParameter("teachername");
    %>
    <label for="teacherno">教师编号:</label>
    <input type="text" id="teacherno" name="teacherno" readonly="readonly" value="<%= teacherno %>"><br><br>
    <label for="teachername">教师姓名:</label>
    <input type="text" id="teachername" name="teachername" value="<%= teachername %>"><br><br>
    <input type="submit" value="修改">
</form>

</body>
</html>